<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>

<!DOCTYPE>
<html>
<head>
<title>Queue状态</title>
<script src="media/js/jquery-1.10.1.min.js" type="text/javascript"></script>
<script src="js/topicmonitor.js" type="text/javascript"></script>

</head>
<body>
	<div style="padding: 20px;">

		<div class="row-fluid">
			<div class="span3">
				<div class="portlet box green">
					<div class="portlet-title">
						<div class="caption">
							<i class="icon-cogs"></i>Topic服务
						</div>
					</div>
					<div class="portlet-body">
						<table class="table table-hover">
							<tbody id="nodetable">
								<c:forEach items="${list}" var="node">
									<tr id="${node.sname} ${node.ip}" onclick="clicktable(this)">
										<th>${node.sname}</th>
										<th>${node.ip}</th>
									</tr>
								</c:forEach>
							</tbody>
						</table>
					</div>
				</div>
			</div>
			
			<div class="span9">
				<div class="portlet box blue">
					<div class="portlet-title">
						<div class="caption">
							<i class="icon-edit"></i>TOPIC列表
						</div>
					</div>

					<div class="portlet-body no-more-tables">
						<table class="table-bordered table-striped table-condensed cf">
							<thead class="cf">
								<tr>
									<th>NAME</th>
									<th>CONSUMER</th>
									<th>ENQUEUE</th>
									<th>DEQUEUE</th>
								</tr>
							</thead>
							
							<tbody id="tbody" style="text-align:center;" name="undef">
							</tbody>
							
						</table>
					</div>

				</div>
			</div>
		</div>
	</div>




</body>
</html>